package com.insigma.business.qrcode.appmgt.dao;

import com.insigma.business.qrcode.appmgt.dto.search.CommonCodeappRemovedSearch;
import com.insigma.business.qrcode.appmgt.entity.CommonCodeappRemovedEntity;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface CommonCodeappRemovedDao {

    int deleteByPrimaryKey(@Param("appId") String appId);

    int insertSelective(CommonCodeappRemovedEntity commonCodeappRemovedEntity);

    CommonCodeappRemovedEntity selectByPrimaryKey(@Param("appId") String appId);

    int updateByPrimaryKeySelective(CommonCodeappRemovedEntity commonCodeappRemovedEntity);

    int updateByPrimaryKey(CommonCodeappRemovedEntity commonCodeappRemovedEntity);

    List<CommonCodeappRemovedEntity> searchAll(CommonCodeappRemovedSearch commonCodeappRemovedSearch);

    int insert(CommonCodeappRemovedEntity commonCodeappRemovedEntity);

    List<CommonCodeappRemovedEntity> selectAll(CommonCodeappRemovedEntity commonCodeappRemovedEntity);

    void updateAppStatusByPrimaryKey(@Param("appId") String appId, @Param("appStatus") String appStatus);

    void updateDeleteStatusByPrimaryKey(@Param("appId") String appId);
}
